/* 0.网站统一样式 */
html {
    font-size: 62.5%;
  }
  
  body {
    color: #000000;
  }
  
  /* 定义网站链接的默认风格 */
  a {
    text-decoration: none;
    color: #222222;
  }
  a:hover{
    color:red;
  }
  
  /* 对网站中需要的标签定义盒子统一属性 */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  ul,
  ol,
  p,
  figure {
    margin: 0;
    padding: 0;
  }
  
  /* 取消列表项的默认图标 */
  li {
    list-style-type: none;
  }
  
  /* 页面元素统一定义 */
  header,
  nav,
  main,
  footer {
    width:970px;
    margin:0 auto;
  }
/* 1.页面头部样式 */
header{
    height:193px;
}
/* 2.页面导航 */
nav{
    height: 35px;
    background-color: rgb(208, 232, 155);
}
nav>ul{
    width:100%;
    display: flex;
    justify-content: space-around;
    padding-top: 5px;
}
nav li{
    position: relative;
}
nav a{
    font-family: 宋体;
    font-size: 1.5rem;
    color: #000000;
}
nav li:not(:last-of-type)::after{
    content:"|";
    color:#666666;
    margin-left: 50px;
    position: absolute;
    top:0px;
}
/* 3.页面主体 */
main{
    display: flex;
    height: 757.2px;
}
/*3.1 左边图 */
.left_img{
    width: 45px;
    height: 757.2px;
}
/* 3.2医院相关查询和友情链接*/
.query_aside{
    width: 196px;
}
/* 3.2医院相关查询部分 */
.query{
    display: flex;
    flex-direction: column;
}
.query>span{
    margin-left: 10px;
}
.query [type="submit"]{
    width:34.2px;
    height: 21.2px;
}
/* 3.2友情链接 */
aside{
    display: flex;
    flex-direction: column;
}
aside>div{
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
aside li{
    margin-bottom: 5px;
}
/* 3.3分隔区域条 */
.divide{
    width: 9px;
    background-color: rgb(204, 242, 143);
}
/*3.4 医院新闻和专题网站*/
.news_garden{
    width: 686px;
    display: flex;
    flex-direction: column;
}
/* 医院新闻 */
.news{
    display: flex;
    height: 251px;
}

#scroller-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
  }

  #scroller {
    display: inline-block;
    animation: scrollText 15s linear infinite;
  }

  @keyframes scrollText {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }


/* 新闻轮播图 */
.news_banner{
    width:284px ;
}
.box {
    width: 284px;
    height: 240px;
}
.inner{
    width: 284px;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.inner img{
    width: 280px;
    height: 210px;
    margin-right: 5px;
}
.inner ul {
    display: flex;
    position: absolute;
    list-style: none;
    left:0;
    top: 0;
}
.inner li{
    float: left;
}

ol {
    position: absolute;
    height: 20px;
    right: 20px;
    bottom: 30px;
    text-align: center;
    padding: 5px;
}
ol li{
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background-color: #fff;
    margin: 5px;
    cursor: pointer;

}
ol .current{
    background-color: red;
}
#arr{
    display: none;
}
#arr span{
    width: 40px;
    height: 40px;
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -20px;
    background: #fff;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-family: '黑体';
    font-size: 30px;
    color: #000;
    opacity: 0.5;
    border: 1px solid #fff;
}
#arr #right {
    right: 5px;
    left: auto;
}
.inner p{
    text-align: center;
    color: #333333;
    line-height: 220%;
    font-weight: bold;
}
/*新闻报道*/
.news_notice{
    margin-top: 2px;
    margin-left: 1px;
}
.news_notice>header{
    width:398.8px;
    height: 20px;
    background-color: #008000;
    line-height: 20px; /*行距设为与div高度一致*/
}
.news_notice>header>a{
    color:white;
    margin-left: 10px;
}
.news_notice li{
    margin-left: 5px;
    margin-top: 6.5px;
}
.new{
    margin-right: 5px;
}
.news_notice span{
    float: right;
    margin-right: 20px;
}
/*专题网站 */
.garden>article{
    display: flex;
    flex-wrap: wrap;
}
.garden>header{
    width: 686px;
    height: 46px;
    text-align: center;
}
.garden section{
    width: 343px;
}
.L{
    margin-left: 15px;
}
.garden div{
    display: flex;
}
.garden div>img{
    margin-top: 40px;
    margin-left: 30px;
}
.garden ul{
    margin-left: 5px;
    margin-top: 20px;
}
.garden ul>li{
    margin-top: 6px;
}
.garden section:nth-child(n+3){
    margin-top: 40px;
}
.garden ul img{
    margin-right: 5px;
}
/* 3.5右边图 */
.right_img{
    width: 34px;
    height: 757.2px;
}
/* 4.页面底部 */
footer{
    height: 136px;
    display: flex;
    flex-direction: column;
    background-image: url(../images/index2_59.gif);
}
footer address{
    margin-top: 15px;
    margin-left: 450px;
    font-style: normal;
    font-weight:600;
}
footer p{
    margin-left:520px;
    margin-top: 10px;
    font-weight:600;
}
